package com.csun.cmny.provider.model.dto.group;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-07-21 10:02
 * @Description: the class init dept emp dto
 */
@Data
public class InitDeptEmpDto {

    /**
     * 机构Id
     */
    @NotNull(message = "{group.id.null}")
    private Long groupId;

    /**
     * 用户姓名
     */
    @NotNull(message = "{user.name.null}")
    @NotEmpty(message = "{user.name.null}")
    private String userName;

    /**
     * 手机号
     */
    @NotNull(message = "{mobile.no.null}")
    @NotEmpty(message = "{mobile.no.null}")
    private String mobileNo;

    /**
     * 身份证
     */
    @NotNull(message = "{id.card.null}")
    @NotEmpty(message = "{id.card.null}")
    private String idCard;

}
